home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / h_v_axes.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  635b  |  26 lines

  1. #ifndef __HORIZ_VERT_AXES_H_
  2. #define __HORIZ_VERT_AXES_H_
  3.  
  4. #include "axe.h"
  5.  
  6. enum axes_dir  { HORIZ_AXE, VERT_AXE };
  7. enum axes_type { NORMAL_AXE, REVERSE_AXE };
  8.  
  9. class HV_Axes : public Axe
  10.     {
  11.     public:
  12.         int type;
  13.         int dir;
  14.     int text_dir;
  15.     public:
  16.     HV_Axes(int l, double start = 0, double end = 0,
  17.         int tick_no = 5, int* t = NULL,
  18.         int s_tick_no = 0, int* s = NULL,
  19.         char** lab = NULL);
  20.     virtual void show_labels(loc);
  21.     void set_type(int t, int d, int td = HORIZ_DIR);
  22.     virtual loc get_label_pos(loc, int );
  23.     virtual void show_axe(loc, int);
  24.     };
  25.  
  26. #endif __HORIZ_VERT_AXES_H_